// @description 特殊处理
// @author yurui
// @createDate 2023.1.09
// @version v1.0.0
import { defHttp } from '/@/utils/http/axios';
import { ApiCommon } from '../common'
import qs from 'qs';
const { CUSTOMER_ADMIN_API,BILLING_ADMIN_API } = ApiCommon;
enum Api {
    //业务综合办理-违约金减免-获取用水项目违约金
    GETLATEFEELIST = '/integrated-business/approval/getLateFeeList',
    //业务综合办理-违约金减免
    LATEFEEREDUCED = '/integrated-business/approval/lateFeeReduced',
    //违约金减免--计算--后端接口计算
    LATEFEEREDUCEDHANDLE = '/record/late_fee/reduced/handle'
}
/**
 * @description: 请求的API地址
 */

export const getLateFeeListPage = (params: object) => defHttp.get({ url: CUSTOMER_ADMIN_API + Api.GETLATEFEELIST, params},
    {
        paramsSerializer : function(params){
            return qs.stringify(params,{indices:false}) }
    }
    );
//业务综合办理-违约金减免
export const lateFeeReduced = (params: object) => defHttp.post({ url: CUSTOMER_ADMIN_API + Api.LATEFEEREDUCED, params })
//违约金减免--计算--后端接口计算
export const lateFeeReducedHandle = (params: object) => defHttp.post({ url: BILLING_ADMIN_API + Api.LATEFEEREDUCEDHANDLE, params })








